﻿@{
    Layout = "~/Views/Shared/_FormWhite.cshtml";
}
<form id="form">
    <img id="img" style="display:none"/>
</form>
<script type="text/javascript">
    $(function () {
        var url = '@Url.Content("https://jxhfd-api.sxxmlg.cn/File/Show?id="+ViewBag.ImgId)';
        $("#img").attr('src',url);
        $('#form').viewer({
            url: 'data-original',
            inline: true,
            button: false,
            navbar: false,
            title: false
        });
    })

</script>